body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
  }
  
  /* 导航栏 */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 10px 20px;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  /* 标题 */
  .navbar h1 {
    margin: 0;
    font-size: 24px;
  }
  
  /* 导航链接 */
  .nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  .nav-links li {
    margin-left: 20px;
  }
  
  .nav-links a {
    color: black;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #aee4ff;
  }
  
  /* 响应式样式：小屏幕 */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav-links {
      flex-direction: column;
      margin-top: 10px;
    }
  
    .nav-links li {
      margin-left: 0;
      margin-bottom: 10px;
    }
  }
  